﻿using System;
using System.Text;

class Matrix
{
    static void Main()
    {
        Console.WriteLine("Enter a number N < 20:");
        byte Number = byte.Parse(Console.ReadLine());
        if (Number >= 20)
        {
            Console.WriteLine("Invalid input!");
        }
        for (byte i = 1; i <= Number; i++)
        {
            Console.WriteLine("");
            for (int x = i; x <= Number + i - 1; x++)
            {
                Console.Write(x);
            }

        }       
    }
}


